package miao.demo.dao.impl;

import miao.demo.dao.BookDao;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Repository;

//@Component("bookDao")
//衍生注解-- @Repository()  数据层
@Repository("bookDao")
public class BookDaoImpl implements BookDao {
    @Override
    public void save() {
        System.out.println("book dao save.....");
    }
}
